<template>
	<view>
		<u-cell-group>
			<u-cell v-for="(item,index) in citylist" :key='index' :title="item" @click='golp(index)'></u-cell>
		</u-cell-group>
	</view>
</template>


<script>
	export default {
		data() {
			return {
				citylist: ['成都', '遂宁']
			}
		},
		methods: {
			golp(e) {
				var a = this.citylist[e]
				uni.setStorageSync('city', this.citylist[e])
				console.log(a);
				uni.reLaunch({
					url: "/pages/lp/lp"
				})
			}
		}
	}
</script>


<style>


</style>